/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.simba.coherence;

/**
 *
 * @author ngonga
 */
public class CoherenceFunctionFactory {
    public static CoherenceFunction get(String name)
    {
        if(name.toLowerCase().startsWith("edgecount")) return new EdgeCountCoherence();
        //default
        return new EdgeCountCoherence();
    }
}
